package com.kelvin.oocl.dataprocess.util;

import java.util.Comparator;

import com.kelvin.oocl.dataprocess.entity.Customer;

public class CustomerSortById implements Comparator<Customer> {

	@Override
	public int compare(Customer o1, Customer o2) {
		return Integer.parseInt(o1.getId())-Integer.parseInt(o2.getId());
	}

}
